package com.example.orderflow.entity.po;

import com.fasterxml.jackson.annotation.JsonIgnore;
import java.io.Serializable;


/**
 * 
 */
public class OrderInfo implements Serializable {


	/**
	 * 订单编号：格式：订单类型+订单下达年月+递增订单号 例如：XS202407001
	 */
	private String orderId;

	/**
	 * 订单类型：样品订单 售后订单 销售订单
	 */
	private String orderType;

	/**
	 * 订货单位
	 */
	private String orderUnit;

	/**
	 * 合同号
	 */
	private String contractNumber;

	/**
	 * 销售经理
	 */
	private String salesManager;

	/**
	 * 订单创建人
	 */
	private String founder;

	/**
	 * 订单设备总数
	 */
	private String devicesNumber;

	/**
	 * 下单日期
	 */
	private String orderCreationDate;

	/**
	 * 订单截至日期
	 */
	private String orderDeadline;

	/**
	 * 订单当前节点
	 */
	private String levelName;

	/**
	 * 当前审批状态
	 */
	private String approveStatus;

	/**
	 * 最新修改日期
	 */
	private String levelUpdateDate;

	/**
	 * 订单状态：已废弃，使用中
	 */
	private String orderStatu;

	/**
	 * 作废操作人
	 */
	private String voidedBy;


	public void setOrderId(String orderId){
		this.orderId = orderId;
	}

	public String getOrderId(){
		return this.orderId;
	}

	public void setOrderType(String orderType){
		this.orderType = orderType;
	}

	public String getOrderType(){
		return this.orderType;
	}

	public void setOrderUnit(String orderUnit){
		this.orderUnit = orderUnit;
	}

	public String getOrderUnit(){
		return this.orderUnit;
	}

	public void setContractNumber(String contractNumber){
		this.contractNumber = contractNumber;
	}

	public String getContractNumber(){
		return this.contractNumber;
	}

	public void setSalesManager(String salesManager){
		this.salesManager = salesManager;
	}

	public String getSalesManager(){
		return this.salesManager;
	}

	public void setFounder(String founder){
		this.founder = founder;
	}

	public String getFounder(){
		return this.founder;
	}

	public void setDevicesNumber(String devicesNumber){
		this.devicesNumber = devicesNumber;
	}

	public String getDevicesNumber(){
		return this.devicesNumber;
	}

	public void setOrderCreationDate(String orderCreationDate){
		this.orderCreationDate = orderCreationDate;
	}

	public String getOrderCreationDate(){
		return this.orderCreationDate;
	}

	public void setOrderDeadline(String orderDeadline){
		this.orderDeadline = orderDeadline;
	}

	public String getOrderDeadline(){
		return this.orderDeadline;
	}

	public void setLevelName(String levelName){
		this.levelName = levelName;
	}

	public String getLevelName(){
		return this.levelName;
	}

	public void setApproveStatus(String approveStatus){
		this.approveStatus = approveStatus;
	}

	public String getApproveStatus(){
		return this.approveStatus;
	}

	public void setLevelUpdateDate(String levelUpdateDate){
		this.levelUpdateDate = levelUpdateDate;
	}

	public String getLevelUpdateDate(){
		return this.levelUpdateDate;
	}

	public void setOrderStatu(String orderStatu){
		this.orderStatu = orderStatu;
	}

	public String getOrderStatu(){
		return this.orderStatu;
	}

	public void setVoidedBy(String voidedBy){
		this.voidedBy = voidedBy;
	}

	public String getVoidedBy(){
		return this.voidedBy;
	}

	@Override
	public String toString (){
		return "订单编号：格式：订单类型+订单下达年月+递增订单号 例如：XS202407001:"+(orderId == null ? "空" : orderId)+"，订单类型：样品订单 售后订单 销售订单:"+(orderType == null ? "空" : orderType)+"，订货单位:"+(orderUnit == null ? "空" : orderUnit)+"，合同号:"+(contractNumber == null ? "空" : contractNumber)+"，销售经理:"+(salesManager == null ? "空" : salesManager)+"，订单创建人:"+(founder == null ? "空" : founder)+"，订单设备总数:"+(devicesNumber == null ? "空" : devicesNumber)+"，下单日期:"+(orderCreationDate == null ? "空" : orderCreationDate)+"，订单截至日期:"+(orderDeadline == null ? "空" : orderDeadline)+"，订单当前节点:"+(levelName == null ? "空" : levelName)+"，当前审批状态:"+(approveStatus == null ? "空" : approveStatus)+"，最新修改日期:"+(levelUpdateDate == null ? "空" : levelUpdateDate)+"，订单状态：已废弃，使用中:"+(orderStatu == null ? "空" : orderStatu)+"，作废操作人:"+(voidedBy == null ? "空" : voidedBy);
	}
}
